<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:set var="contextlocal" value="${pageContext.request.contextPath}" />


<tiles:insertDefinition name="defaultTemplate">
	<tiles:putAttribute name="pageheader">
	
	<script src="${contextlocal}/resources/script/trnDaily.js" type="text/javascript"></script>
	
	
		<h2>
			<i class="fa fa-home"></i>Transaction Daily process<span>Run process</span>
		</h2>
	</tiles:putAttribute>
	<tiles:putAttribute name="body">

		<b1>Welcome to TrnDailyProcess page</b1>
		<br>by <i>${name}</i>
		<table >
			<tr>
				<td>Begin Date: </td>
				<td><input type="text" id="beginDate" value="20131001"></td>
			</tr>
			<tr>
				<td>End Date: </td>
				<td><input type="text" id="endDate" value="20131031"></td>
			</tr>
			<tr>
				<td></td>
				<td><button onclick="process()">Calculate</button></td>
			</tr>
			<tr>
				<td>
					Status
				</td>
				<td>
					<label id="statusProcess" value="Avaliable"></label>
				</td>
			
			</tr>
			<tr>
				<td>
					Process
				</td>
				<td>
					<label id="processNumber"></label>
				</td>
			</tr>
			<tr>
				<td  valign="top">Issue</td>
				<td>
					<table border = '1' id="issueTrn">
						
						<tr>
							
						</tr>
							
					</table>
				</td>
			</tr>
		</table>

	</tiles:putAttribute>
</tiles:insertDefinition>


